package com.zhengke.service.xwgl;


import com.zhengke.common.object.AjaxDone;
import com.zhengke.common.object.Result;
import com.zhengke.pojo.JournalismPhone;

public interface XWGLService {
		/**
		 * 查看新闻
		 * @return
		 */
		public Result queryXW(int pageNum,int size);
		/**
		 *	 添加新闻
		 * @return
		 */
		public int addxw(JournalismPhone jp);
		
		/**
		 * 	删除新闻
		 * @param id
		 * @return
		 */
		public AjaxDone delxw(String id);
		/**
		 * 修改新闻
		 */
		public int updxw(JournalismPhone jp);
}
